#pragma once
#include "../3rdparty/hge181/include/hgegui.h"
#include "font_object.h"

class CTextMenuItem
    : public hgeGUIObject
{
public:

    CTextMenuItem(int itemId, float x, float y, int size, char* text, DWORD color = ARGB(0xAA, 255, 255, 255), DWORD focusColor = ARGB(255, 255, 0, 0));
    virtual ~CTextMenuItem();

    virtual void Render();

    virtual void Focus(bool bFocused);
    virtual bool KeyClick(int key, int chr);

protected:
private:
    DWORD m_color;
    DWORD m_focusColor;
    char* m_text;
    GfxFont* m_font;
    bool m_focus;
    float m_x;
    float m_y;
};